package lcy.homework01;

/**
 * @ClassName: Shape
 * @Description:
 * @author: 李春洋
 * @date: 2024/3/30 16:25
 * @Blog: https://
 */
public abstract class Shape {
    String color;

    void setColor(String color) {
        this.color = color;
    }

    String getColor() {
        return color;
    }

    abstract double calculatePerimeter();

    abstract double calculateArea();

    abstract void move(Point p);
}
